package com.bwie.controller;

import com.bwie.service.TbProdService;
import com.bwie.utils.R;
import com.bwie.vo.PageInfoVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author LiuWei Chen
 * @version 1.0
 * @description: TODO
 * @date 2025/7/22 19:50
 */
@RestController
@RequestMapping("/prod/index")
public class ProductController {
    @Autowired
    TbProdService prodService;
    @PostMapping("/getPageListProd")
    public R getPageListProd(@RequestBody PageInfoVo pageInfoVo){
        return prodService.getPageListProd(pageInfoVo);
    }
}
